C# declare object with values

112

C# declare object with values -

Demo d = new Demo() { 
  name = "demo name",
  demo_num = "200",
  city = "some city"
};

Comments

Submit
0 Comments